#!/bin/bash

# ================================================================
# TooBit监控系统 - 权限设置脚本
# ================================================================

PROJECT_ROOT="/Users/austin_w/PycharmProjects/toobit-monitor"

echo "🔧 设置脚本执行权限..."

cd "$PROJECT_ROOT"

# 设置所有shell脚本的执行权限
chmod +x start-project.sh
chmod +x quick-start.sh  
chmod +x stop-project.sh
chmod +x setup-permissions.sh

echo "✅ 权限设置完成!"
echo ""
echo "📋 可用脚本:"
echo "  ./start-project.sh    - 完整启动脚本 (推荐)"
echo "  ./quick-start.sh      - 快速启动脚本"
echo "  ./stop-project.sh     - 停止服务脚本"
echo ""
echo "📖 使用说明:"
echo "  cat README-启动指南.md"
